CurrencyTable

A table containing the set of currencies in a moneydance data set

Constructors

Link copied to clipboard
constructor(book: AccountBook)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Add the given currency to the table. Do not specify isLoading=true.

Link copied to clipboard
Link copied to clipboard
operator fun contains(curr: CurrencyType?): Boolean
Link copied to clipboard
fun convertValueXXX(value: Long, currentType: CurrencyType, newType: CurrencyType): Long

Convert value in one currency to the same value in another currency.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get the price (going rate) for currency curr1 in terms of curr2 on the given date. In this method the date must be passed as an int with value YYYYMMDD.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun iterator(): MutableIterator<CurrencyType>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setFireNotifications(doNotifications: Boolean)

Tells the model whether or not notifications should be sent or delayed for a little while. This is useful to turn off notifications during batch processing (for example when importing from a QIF file). NOTE: Don't forget to turn this back on!!!

Link copied to clipboard